]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenShield: Animate the raising of the lock screen with the scroll wheel
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 5 Sep 2012 17:51:30 +0000 (14:51 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 5 Sep 2012 17:51:30 +0000 (14:51 -0300)
A sudden transition to the lock screen is a bit jarring.

js/ui/screenShield.js

index 2d6c2e65fc007619d020472db28546caa0dfd82b..1f6913ad29a5665a795f71cf1e5211017d05c1d4 100644 (file)
@@ -461,7 +461,7 @@ const ScreenShield = new Lang.Class({
         // 7 standard scrolls to lift up
         if (this._lockScreenScrollCounter > 35) {
             this._ensureUnlockDialog();
-            this._hideLockScreen(0);
+            this._hideLockScreen(true);
         }
 
         return true;